// declare client class
#ifndef _CLIENT_H
#define _CLIENT_H
#include "log_reader.h"
#include "log_sender.h"

//创建一个客户端类
class Client {

private:
	
	LogReader& log_reader;
	LogSender& log_sender;

public:

	//构造函数
	Client(LogReader& log_reader,LogSender& log_sender);
	
	//数据采集函数，抛出ClientException异常
	void dataMine() throw (ClientException);
};

#endif  //_CLIENT_H

